<?php
/**
 * OperateLog
 * @OA\Schema(
 *       schema="OperateLog",
 *       description="OperateLog-操作日志",
 *       @OA\Property(
 *            property="id",
 *            type="number"
 *       ),
 *      @OA\Property(
 *            property="module",
 *            type="string",
 *            description="模块名称"
 *       ),
 *       @OA\Property(
 *            property="operate",
 *            type="string",
 *            description="操作模块"
 *      ),
 *     @OA\Property(
 *            property="route",
 *            type="string",
 *            description="路由",
 *       ),
 *     @OA\Property(
 *            property="params",
 *            type="string",
 *            description="参数",
 *       ),
 *     @OA\Property(
 *            property="ip",
 *            type="string",
 *            description="IP",
 *       ),
 *     @OA\Property(
 *            property="creator_id",
 *            type="number",
 *            description="操作用户ID",
 *       ),
 *     @OA\Property(
 *            property="creator",
 *            type="string",
 *            description="操作用户",
 *       ),
 *     @OA\Property(
 *            property="method",
 *            type="string",
 *            description="请求方法",
 *       ),
 *     @OA\Property(
 *            property="created_at",
 *            type="string",
 *            description="操作时间",
 *       )
 * )
 *
 * @OA\Get(path="/log/operate",
 *   tags={"log"},
 *   summary="操作日志列表",
 *   operationId="getOperateLogs",
 *   security={{"Authorization-Bearer":{}}},
 *   @OA\Parameter(ref="#/components/parameters/pageSize"),
 *   @OA\Parameter(ref="#/components/parameters/current"),
 *   @OA\Parameter(ref="#/components/parameters/keyword"),
 *   @OA\Response(response="200", description="Success",
 *       @OA\JsonContent(ref="#/components/schemas/QueryResponse")
 *   )
 * )
 *
 *
 * @OA\Delete (path="/log/operate/{id}",
 *   tags={"log"},
 *   summary="删除操作日志",
 *   operationId="deleteOperateLog",
 *   security={{"Authorization-Bearer":{}}},
 *   @OA\Parameter(ref="#/components/parameters/id"),
 *   @OA\Response(response="200", description="Success",
 *       @OA\JsonContent(ref="#/components/schemas/HandleResponse")
 *   )
 * )
 */